package com.kh.shj.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Classify implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private String icon;

    private Integer orderNum;

    private Integer parentId;


    private String ancestors;


    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;


}
